<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style type="text/css">
        body{
            background-image: url(./images/冬.jpg);
            background-size: 100% 100%;
            height:100%;
        }
        html{
            height:100%;
        }
        @keyframes myfirst {
            from {background: red;}
            to {background: green;}
        }
        h1 {
            animation: myfirst 1s infinite;
        }
    </style>
</head>
<body>
    个人主页
   <h1>动画1</h1> 
</body>
</html>
